[INFO] fetching crate jwtoken 0.1.5...
[INFO] fixing jwtoken-0.1.5 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate jwtoken 0.1.5 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate jwtoken 0.1.5
[INFO] finished tweaking crates.io crate jwtoken 0.1.5
[INFO] tweaked toml for crates.io crate jwtoken 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jwtoken 0.1.5 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jwtoken 0.1.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.142
[INFO] [stderr]   Downloaded rsa v0.9.8
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b
[INFO] running `Command { std: "docker" "start" "4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking jwtoken v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `keygen::*`
[INFO] [stdout]    --> src/lib.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub use keygen::*;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `keygen::*`
[INFO] [stdout]    --> src/lib.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub use keygen::*;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `random_secret` in this scope
[INFO] [stdout]    --> src/lib.rs:337:22
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let secret = random_secret();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/keygen.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   5 | #[cfg(feature = "key-gen")]
[INFO] [stdout]     |       ------------------- the item is gated behind the `key-gen` feature
[INFO] [stdout]   6 | pub fn random_secret() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HS256` in this scope
[INFO] [stdout]    --> src/lib.rs:338:25
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let algorithm = HS256::new(&secret);
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `HS256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HS256` in this scope
[INFO] [stdout]    --> src/lib.rs:360:25
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let algorithm = HS256::new(secret);
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `HS256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HS256` in this scope
[INFO] [stdout]    --> src/lib.rs:361:31
[INFO] [stdout]     |
[INFO] [stdout] 361 |         let wrong_algorithm = HS256::new(wrong_secret);
[INFO] [stdout]     |                               ^^^^^ use of undeclared type `HS256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rsa_keypair` in this scope
[INFO] [stdout]    --> src/lib.rs:386:41
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let (private_key, public_key) = rsa_keypair().unwrap();
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/keygen.rs:18:8
[INFO] [stdout]     |
[INFO] [stdout]  17 | #[cfg(all(feature = "key-gen", feature = "rs256"))]
[INFO] [stdout]     |           ------------------- the item is gated behind the `key-gen` feature
[INFO] [stdout]  18 | pub fn rsa_keypair() -> Result<(rsa::RsaPrivateKey, rsa::RsaPublicKey), rsa::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RS256Signer` in this scope
[INFO] [stdout]    --> src/lib.rs:387:22
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let signer = RS256Signer::new(private_key);
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared type `RS256Signer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RS256Verifier` in this scope
[INFO] [stdout]    --> src/lib.rs:388:24
[INFO] [stdout]     |
[INFO] [stdout] 388 |         let verifier = RS256Verifier::new(public_key);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ use of undeclared type `RS256Verifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rsa_keypair` in this scope
[INFO] [stdout]    --> src/lib.rs:419:39
[INFO] [stdout]     |
[INFO] [stdout] 419 |         let (private_key_signer, _) = rsa_keypair().unwrap();
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/keygen.rs:18:8
[INFO] [stdout]     |
[INFO] [stdout]  17 | #[cfg(all(feature = "key-gen", feature = "rs256"))]
[INFO] [stdout]     |           ------------------- the item is gated behind the `key-gen` feature
[INFO] [stdout]  18 | pub fn rsa_keypair() -> Result<(rsa::RsaPrivateKey, rsa::RsaPublicKey), rsa::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RS256Signer` in this scope
[INFO] [stdout]    --> src/lib.rs:420:22
[INFO] [stdout]     |
[INFO] [stdout] 420 |         let signer = RS256Signer::new(private_key_signer);
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared type `RS256Signer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rsa_keypair` in this scope
[INFO] [stdout]    --> src/lib.rs:423:40
[INFO] [stdout]     |
[INFO] [stdout] 423 |         let (_, public_key_verifier) = rsa_keypair().unwrap();
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/keygen.rs:18:8
[INFO] [stdout]     |
[INFO] [stdout]  17 | #[cfg(all(feature = "key-gen", feature = "rs256"))]
[INFO] [stdout]     |           ------------------- the item is gated behind the `key-gen` feature
[INFO] [stdout]  18 | pub fn rsa_keypair() -> Result<(rsa::RsaPrivateKey, rsa::RsaPublicKey), rsa::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RS256Verifier` in this scope
[INFO] [stdout]    --> src/lib.rs:424:30
[INFO] [stdout]     |
[INFO] [stdout] 424 |         let wrong_verifier = RS256Verifier::new(public_key_verifier);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ use of undeclared type `RS256Verifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HS256` in this scope
[INFO] [stdout]    --> src/lib.rs:436:25
[INFO] [stdout]     |
[INFO] [stdout] 436 |         let algorithm = HS256::new(b"secret");
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `HS256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HS256` in this scope
[INFO] [stdout]    --> src/lib.rs:453:28
[INFO] [stdout]     |
[INFO] [stdout] 453 |         let hs_algorithm = HS256::new(b"secret");
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `HS256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rsa_keypair` in this scope
[INFO] [stdout]    --> src/lib.rs:454:31
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let (_, public_key) = rsa_keypair().unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/keygen.rs:18:8
[INFO] [stdout]     |
[INFO] [stdout]  17 | #[cfg(all(feature = "key-gen", feature = "rs256"))]
[INFO] [stdout]     |           ------------------- the item is gated behind the `key-gen` feature
[INFO] [stdout]  18 | pub fn rsa_keypair() -> Result<(rsa::RsaPrivateKey, rsa::RsaPublicKey), rsa::Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RS256Verifier` in this scope
[INFO] [stdout]    --> src/lib.rs:455:28
[INFO] [stdout]     |
[INFO] [stdout] 455 |         let rs_algorithm = RS256Verifier::new(public_key);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ use of undeclared type `RS256Verifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jwtoken` (lib test) due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b", kill_on_drop: false }`
[INFO] [stdout] 4da49bdbe5cefbe383104f8cdc9ff0ac72ff946cb133e167d12a2429dd49927b
